package com.amrit.revision;


/**
 * 
 * @author IB1383
 */
public class CoreRev {
	public static void main(String[] args) {
		CoreRev c = new CoreRev();
		c.m1();
	}

	void m1() {
		Integer i = new Integer(2);
		Integer i1 = Integer.valueOf(2);
		System.out.println(i == i1);
		System.out.println(i.equals(i1));
		/*System.out.println(System.identityHashCode(i));
		System.out.println(System.identityHashCode(i1));*/
	}
}
